home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / e_os208 / example6 / example6.asm next >
Assembly Source File  |  1996-06-09  |  1KB  |  36 lines

  1. ;╔══════════════════════════════════════════════════════════════════════════╗
  2. ;║                                                                          ║
  3. ;║ This example show how to call the 32 bit debugger                        ║
  4. ;║                                                                          ║
  5. ;║ Tabs : 13 21 29 37                                                       ║
  6. ;║                                                                          ║
  7. ;╚══════════════════════════════════════════════════════════════════════════╝
  8.  
  9. Locals
  10. .386
  11. CODE32 SEGMENT PUBLIC PARA 'CODE' USE32
  12. ASSUME  CS:CODE32,DS:CODE32,ES:CODE32
  13.  
  14. INCLUDE ..\RESOURCE\EOS.INC
  15.  
  16. Msg         db '    ■ Hello world...',13,10,36
  17.  
  18.  
  19. Start32:
  20.             mov ah,9
  21.             mov edx,O Msg
  22.             int 21h                 ; Call Display String
  23.  
  24.             call debug              ; Where you want !!! Alt-x to exit
  25.  
  26.             mov ah,9
  27.             mov edx,O Msg
  28.             int 21h                 ; Call Display String
  29.  
  30.             mov ax,4c00h
  31.             int 21h                 ; Exit with Error Code 0
  32.  
  33.  
  34.             CODE32 ENDS
  35.  
  36.             END